package com.alibaba.dingtalk.openapi.vo.oa;

import lombok.Getter;

import java.io.Serializable;

/**
 * 任务创建参数DTO
 *
 * @author LiZhikang
 * @date 2023/3/16 9:40
 */
@Getter
public class TaskDetailDTO implements Serializable {
    private static final long serialVersionUID = -7562810207982919547L;
    /**
     * 用户Id
     */
    private String userId;
    /**
     * 落地页
     */
    private String url;
    /**
     * 自定义参数,页面跳转时会回传
     */
    private String customData;

    public TaskDetailDTO(String userId, String url) {
        this.userId = userId;
        this.url = url;
    }
}
